Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Printing /
Chapter 4 - Advanced Printing Features / Advanced Printing Features Reference
Functions / Formatting for Specific Devices


GXJobFormatModeQuery

You can use the GXJobFormatModeQuery function to get or set additional information related to a job format mode.

void GXJobFormatModeQuery (gxJob aJob, gxQueryType aQueryType,
                           void *srcData, void *dstData);
aJob
A reference to the job object for which information relating to the printer's format mode is being requested.
aQueryType

The kind of query requested.
srcData
A pointer to the source data.
dstData
A pointer to the destination data.
DESCRIPTION
The GXJobFormatModeQuery function obtains information from a printer driver that relates to the printer driver's preferred mode. The kinds of queries that can be specified in the aQueryType parameter depend on the printer driver. The format and direction of the data transfer depends on the kind of query.

QuickDraw GX defines query types for use with printer drivers whose preferred mode is gxTextJobFormatMode:
ConstantValueExplanation
gxGetJobFormatLineConstraintQuery0Used to determine line constraint characteristics
gxGetJobFormatFontsQuery1Used to determine font information
gxGetJobFormatFontCommonStylesQuery2Used to determine style names
gxGetJobFormatFontConstraintQuery3Used to determine font positioning constraints
gxSetStyleJobFormatCommonStyleQuery4Used to set style names

RESULT CODES
gxSegmentLoadFailedErrA required code segment could not be found, or there was not enough memory to load it.
SEE ALSO
For more information the kinds of queries and the format of data returned, see "Formatting for Text Job Format Mode Printing" on page 4-36.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help